Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal propertyName As String, _ ByVal isNullable As Boolean, _ ByVal isPartOfKey As Boolean, _ ByVal concurrencyStrategy As ConcurrencyStrategy, _ ByVal isAutoIncrementing As Boolean, _ ByVal relatedNavigationPropertyName As String, _ Optional ByVal isNativeProperty As Boolean _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim propertyName As String Dim isNullable As Boolean Dim isPartOfKey As Boolean Dim concurrencyStrategy As ConcurrencyStrategy Dim isAutoIncrementing As Boolean Dim relatedNavigationPropertyName As String Dim isNativeProperty As Boolean Dim instance As New DataEntityProperty(Of TInstance,TValue)(propertyName, isNullable, isPartOfKey, concurrencyStrategy, isAutoIncrementing, relatedNavigationPropertyName, isNativeProperty) |
C# | |
---|---|
public DataEntityProperty<TInstance,TValue>( string propertyName, bool isNullable, bool isPartOfKey, ConcurrencyStrategy concurrencyStrategy, bool isAutoIncrementing, string relatedNavigationPropertyName, bool isNativeProperty ) |
C++/CLI | |
---|---|
public: DataEntityProperty<TInstance,TValue>( String^ propertyName, bool isNullable, bool isPartOfKey, ConcurrencyStrategy concurrencyStrategy, bool isAutoIncrementing, String^ relatedNavigationPropertyName, bool isNativeProperty ) |
Parameters
- propertyName
- The entity property name
- isNullable
- Whether this property can accept null values
- isPartOfKey
- Whether this property is a primary key property
- concurrencyStrategy
- Whether this property is a concurrency column and the strategy to use
- isAutoIncrementing
- Whether this property is autoincrementing
- relatedNavigationPropertyName
- Name of any related navigation property.
- isNativeProperty
- Whether this property is a native property (default=true)
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family